package com.GamersCom.util;

import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Handles utility 
 * @author Frank
 *
 */
public class Util
{
	public static void log(String log) 
	{
		System.out.println(log);
	}
	
	public static Date convertToDate (String date) throws ParseException
	{
		DateFormat df = new SimpleDateFormat("MM/dd/yyyy");
		Date tmp = (Date)df.parse(date);
		
		return tmp;
	}
}
